import request from '@/api/useRequest'
const  publicPath = '/talk'
export function sendMessageByUserId(data:{
       targetUserId: string,
    type: number,
    message: string
}){
    return request ({
        url:`${publicPath}/sendMessageByUserId`,
        method:'post',
        data
    })
}